package com.sundae.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * Created by superace on 2017/8/9.
 */
@Controller
@RequestMapping("")
public class HomeController {

    @RequestMapping("Home")
    public ModelAndView Home()
    {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("home");
        return modelAndView;
    }

}
